package com.rgs.platform.filter;

import com.rgs.base.database.sql.ISqlFilter;
import com.rgs.base.database.sql.LikeTypeEnum;
import com.rgs.base.database.sql.SqlFilterAnnotation;
import com.rgs.module.login.exception.LoginException;
import com.rgs.platform.test.RgsSqlAnno;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author Ren Gaoshuai
 * @ClassName BillInfoFilterDTO
 * @date 2022-01-24 11:18
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BillInfoFilterDTO implements ISqlFilter {

    @RgsSqlAnno(columnName = "id")
    private String id;

    @RgsSqlAnno(columnName = "money")
    private Integer money;

    @RgsSqlAnno(columnName = "receiveName",likeType = LikeTypeEnum.FULL)
    private String receiveName;

    @RgsSqlAnno(columnName = "billType")
    private Integer billType;

    @RgsSqlAnno(columnName = "businessTime")
    private LocalDateTime businessTime;
    @RgsSqlAnno(columnName = "createTime")
    private LocalDateTime createTime;
    @RgsSqlAnno(columnName = "isAttend")
    private Integer isAttend;


    private String orderByClause;
}
